<%--
  Created by IntelliJ IDEA.
  User: dllo
  Date: 18/5/17
  Time: 下午6:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<form action="<%=request.getContextPath()%>/register" method="post">
    用户名:<input name="username">
    <br>
    密码:<input type="password" name="password">
    <br>
    确认密码:
    <input type="password" name="conpwd">
    <br>
    昵称:
    <input name="nickname">
    <br>

    爱好:
    <input type="checkbox" name="hobby" value="eat">eat
    <input type="checkbox" name="hobby" value="sleep">sleep
    <input type="checkbox" name="hobby" value="code">coding
    <br>
    性别:
    <input type="radio" name="sex" value="男">男
    <input type="radio" name="sex" value="女">女
    <br>
    <input type="submit">
</form>
</body>
</html>
